﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="Modify.aspx.cs" Inherits="Chizx.Web.apply.Modify" Title="修改页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    

	<tr>
	<td height="25" width="30%" align="right">
		标识号
	：</td>
	<td height="25" width="*" align="left">
		<asp:label id="lblza_id" runat="server"></asp:label>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		学生学号
	：</td>
	<td height="25" width="*" align="left">
		<asp:label id="lblzu_id" runat="server"></asp:label>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		申请企业id
	：</td>
	<td height="25" width="*" align="left">
        <asp:label id="txtza_cid" runat="server" Width="200px"></asp:label>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		申请企业名称
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtza_cname" class="input-text lh28" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		申请企业地址
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtza_caddress" class="input-text lh28" runat="server" Width="98%"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		申请详情
	：</td>
	<td width="*" align="left">
		<asp:TextBox id="txtza_desc" class="textarea lh28 KEtext" runat="server" TextMode="MultiLine" Width="98%"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		申请时间
	：</td>
	<td height="25" width="*" align="left">
	    <asp:Label ID="txtza_createdate" runat="server" Width="200px"  onfocus="setday(this)"></asp:Label>
    </td></tr>
	<tr>
        <script type="text/javascript">
            function changeStastu() {
                if ($(".sxstatus").val() == "a1") {
                    $(".directzz").slideDown("4000");
                } else {
                    $(".directzz").slideUp("4000");
                }
            }
            function ischeckSum() {
                if ($(".sxtype").val() == "s2") {
                    alert("请先选择实习类型！")
                }
            }
    </script>
	<td height="25" width="30%" align="right">
		状态
	：</td>
	<td height="25" width="*" align="left">
        <asp:DropDownList ID="ddza_status" runat="server" class="select sxstatus"  onchange="changeStastu()">
             <asp:ListItem Value="a0">未审核</asp:ListItem>
            <asp:ListItem Value="a1">批准</asp:ListItem>
            <asp:ListItem Value="a2">驳回</asp:ListItem>
        </asp:DropDownList>
	</td></tr>
    <tr>
    <td height="25" width="30%" align="right" class="directzz" style="display:none;">
		分配指导老师
	：</td>
	<td height="25" width="*" align="left"  class="directzz"  style="display:none;">
        <asp:DropDownList ID="ddza_direct" runat="server" DataMember="DefaultView" DataSourceID="DXdirect" DataTextField="zu_name" DataValueField="zu_id"></asp:DropDownList>
	</td></tr>
<asp:SqlDataSource ID="DXdirect" runat="server" ConnectionString="<%$ ConnectionStrings:ISMSDBConnectionString %>"  SelectCommand="select zu_id,zu_name from z_user where zu_roles='A1' or zu_roles='A2' or zu_roles='A3'"></asp:SqlDataSource>

<script src="/js/calendar1.js" type="text/javascript"></script>
        <tr>
            <td class="tdbg" align="center" valign="bottom" colspan="2">
                <asp:Button ID="btnSave" runat="server" Text="保存"
                    OnClick="btnSave_Click" class="ext_btn ext_btn_submit"></asp:Button>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnCancle" runat="server" Text="取消"
                    OnClick="btnCancle_Click" class="inputbutton ext_btn"></asp:Button>
            </td>
        </tr>

</asp:Content>


